.class Lcom/instagram/android/directshare/g/s;
.super Landroid/content/BroadcastReceiver;
.source "DirectSharePermalinkFragment.java"


# instance fields
.field final synthetic a:Lcom/instagram/android/directshare/g/c;


# direct methods
.method constructor <init>(Lcom/instagram/android/directshare/g/c;)V
    .locals 0
    .parameter

    .prologue
    .line 157
    iput-object p1, p0, Lcom/instagram/android/directshare/g/s;->a:Lcom/instagram/android/directshare/g/c;

    invoke-direct {p0}, Landroid/content/BroadcastReceiver;-><init>()V

    return-void
.end method


# virtual methods
.method public onReceive(Landroid/content/Context;Landroid/content/Intent;)V
    .locals 2
    .parameter "context"
    .parameter "intent"

    .prologue
    .line 161
    invoke-static {}, Lcom/instagram/android/p/f;->a()Lcom/instagram/android/p/f;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/p/f;->e()Lcom/instagram/realtimeclient/RealtimeEventHandler$Status;

    move-result-object v0

    sget-object v1, Lcom/instagram/realtimeclient/RealtimeEventHandler$Status;->SUBSCRIBED:Lcom/instagram/realtimeclient/RealtimeEventHandler$Status;

    if-ne v0, v1, :cond_1

    const/4 v0, 0x1

    .line 163
    :goto_0
    if-nez v0, :cond_0

    .line 164
    iget-object v0, p0, Lcom/instagram/android/directshare/g/s;->a:Lcom/instagram/android/directshare/g/c;

    invoke-static {v0}, Lcom/instagram/android/directshare/g/c;->d(Lcom/instagram/android/directshare/g/c;)V

    .line 166
    :cond_0
    return-void

    .line 161
    :cond_1
    const/4 v0, 0x0

    goto :goto_0
.end method
